package com.itheima.entity;

import java.io.Serializable;

/**
 * 封装查询条件
 */
public class SmallPageBean implements Serializable{
    private Integer smallCurrentPage;//页码
    private Integer smallPageSize;//每页记录数

    public SmallPageBean() {
    }

    public SmallPageBean(Integer smallCurrentPage, Integer smallPageSize) {
        this.smallCurrentPage = smallCurrentPage;
        this.smallPageSize = smallPageSize;
    }

    public Integer getSmallCurrentPage() {
        return smallCurrentPage;
    }

    public void setSmallCurrentPage(Integer smallCurrentPage) {
        this.smallCurrentPage = smallCurrentPage;
    }

    public Integer getSmallPageSize() {
        return smallPageSize;
    }

    public void setSmallPageSize(Integer smallPageSize) {
        this.smallPageSize = smallPageSize;
    }

    @Override
    public String toString() {
        return "SmallPageBean{" +
                "smallCurrentPage=" + smallCurrentPage +
                ", smallPageSize=" + smallPageSize +
                '}';
    }
}